package com.example.shop.pojo;

/**
 * 用户部门类
 * 
 * @author Administrator
 *
 */
public class UserDepartment {
	/**
	 * 用户部门id
	 */
	private Long userDepartmentId;
	/**	
	 * 用户账号
	 */
	private String userAccount;
	/**
	 * 用户父类(上司)账号
	 */
	private String userParentAccount;
	/**
	 * 部门职位
	 */
	private String userPosition;
		/**
	 * 部门id
	 */
	private Long departmentId;
	
	
	@Override
		public String toString() {
			return "UserDepartment [userDepartmentId=" + userDepartmentId + ", userAccount=" + userAccount
					+ ", userParentAccount=" + userParentAccount + ", userPosition=" + userPosition + ", departmentId="
					+ departmentId + ", toString()=" + super.toString() + "]";
		}
	/**
	 * @return the userPosition
	 */
	public String getUserPosition() {
		return userPosition;
	}
	/**
	 * @param userPosition the userPosition to set
	 */
	public void setUserPosition(String userPosition) {
		this.userPosition = userPosition;
	}

	/**
	 * @return the userAccount
	 */
	public String getUserAccount() {
		return userAccount;
	}
	/**
	 * @return the userParentAccount
	 */
	public String getUserParentAccount() {
		return userParentAccount;
	}
	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}
	public void setUserParentAccount(String userParentAccount) {
		this.userParentAccount = userParentAccount;
	}

	public Long getUserDepartmentId() {
		return userDepartmentId;
	}
	public void setUserDepartmentId(Long userDepartmentId) {
		this.userDepartmentId = userDepartmentId;
	}
	public Long getDepartmentId() {
		return departmentId;
	}
	public void setDepartmentId(Long departmentId) {
		this.departmentId = departmentId;
	}
	
	public UserDepartment() {
	}
	public UserDepartment(Long userDepartmentId, String userAccount, String userParentAccount, Long departmentId) {
		super();
		this.userDepartmentId = userDepartmentId;
		this.userAccount = userAccount;
		this.userParentAccount = userParentAccount;
		this.departmentId = departmentId;
	}
	
	
}
